﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class IoTbPatientBillLog
    {
        public long BillIdLogId { get; set; }
        public long BillId { get; set; }
        public long? RegNo { get; set; }
        public int? ChareTypeId { get; set; }
        public DateTime? FromTime { get; set; }
        public DateTime? ToTime { get; set; }
        public int? Sid { get; set; }
        public DateTime? ActTime { get; set; }
        public decimal? ReimburseAmount { get; set; }
        public decimal? UnReimburseAmount { get; set; }
        public decimal? PatFees { get; set; }
        public decimal? CreditFees { get; set; }
        public decimal? CreditAddFees { get; set; }
        public decimal? AcountFees { get; set; }
        public string? InsuranceSerialNo { get; set; }
        public bool? IsPrinted { get; set; }
        public int? Status { get; set; }
        public int? LogOutUserId { get; set; }
        public DateTime? LogOutOn { get; set; }
        public decimal? PreCharge { get; set; }
        public decimal? CancelCash { get; set; }
        public int? OutFlag { get; set; }
        public string? FeeDetail { get; set; }
        public long? ReturnBillId { get; set; }
        public long? NewRegNo { get; set; }
        public string? YbSerialNo { get; set; }
        public int? InsuranceCode { get; set; }
        public string? CardNo { get; set; }
        public decimal? Flzf { get; set; }
        public string? OpType { get; set; }
        public int? OpUserId { get; set; }
        public DateTime? OpTime { get; set; }
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int HospitalId { get; set; }
        /// <summary>
        /// 减免金额
        /// </summary>
        public decimal? DeductionAmt { get; set; }
        /// <summary>
        /// 实收金额
        /// </summary>
        public decimal? ReceivedAmount { get; set; }
        /// <summary>
        /// 找零金额
        /// </summary>
        public decimal? ChangeAmount { get; set; }
        /// <summary>
        /// 预交金剩余金额
        /// </summary>
        public decimal? DiffAmount { get; set; }
        /// <summary>
        /// 实退金额
        /// </summary>
        public decimal? ReturnAmount { get; set; }
    }
}
